package com.baizhi.dao;

import com.baizhi.entity.Brand;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BrandDao {
    void insert(Brand brand);
    void delete(Integer id);
    Brand selectById(Integer id);
    void update(Brand brand);
    List<Brand> selectByName(@Param("name") String name);
}
